package com.xxzuibang.day16.system类;

import java.util.Arrays;

public class System_ {
    public static void main(String[] args) {
        //exit退出当前程序
        System.out.println("ok1");
        //arraycopy赋值数组元素
        int[] src={1,2,3};
        int[] dest=new int[3];//dest目前是{0,0,0}
        System.arraycopy(src,0,dest,0,src.length);
        System.out.println("dest="+ Arrays.toString(dest));
        //currentTimeMillis()当前时间：返回当前时间距离 1970-1-1 的毫秒数
        System.out.println(System.currentTimeMillis());


    }
}
